package com.qf.Service;/*
 *
 */

import com.qf.Domain.Cart;
import com.qf.Domain.Order;
import com.qf.Domain.OrderDetail;

import java.util.List;

public interface OrderService {
    Order addOrder(Integer uid, int aid, List<Cart> carts);

    void updateStatus(String oid, String status);

    List<Order> findByOid(Integer id);

    Order findById(String oid);

    List<OrderDetail> findDetail(String oid);
}
